package com.wuhunyu.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

/**
 * 展示数据查询类
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-27 21:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataQuery implements Serializable {

    private String type;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date begin;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date end;

}
